package com.xiaoxin.nmzp.server.entity.req;

import com.ruoyi.common.nmzp.WorkEx;
import com.xiaoxin.nmzp.interfaces.ValidIfHasExperience;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@ValidIfHasExperience
public class ResumeReq {

    private boolean isWorkExperience;

//    @Valid
    private WorkEx workEx;

    @NotBlank(message = "个人优势不能为空!")
    private String advantage;

    /**
     * 学历信息，JSON格式
     */
    private String educations;


    /**
     * 工作经验信息，JSON数组格式
     */
    private String workExperience;

    /**
     * 项目经验,JSON数组格式
     */
    private String projectExperience;

    /**
     * 附件简历地址
     */
    private String attachment;

    /**
     * 职位类型固定数据
     */
    private Integer jobType;

    /**
     * 求职状态（0离校-正在找工作 1在校-正在找工作 2在校-看看机会 3在线-暂时不找工作 4离校-我要当牛马）
     */
    private Integer jobSeekingStatus;

    /**
     * 资格证书, 公共字符串分割
     */
    private String credential;

    /**
     * 专业技能，说明自己擅长的技能信息
     */
    private String professionalSkill;

    /**
     * 自我评估
     */
    private String selfEvaluation;

    public boolean getIsWorkExperience() {
        return isWorkExperience;
    }

    public void setIsWorkExperience(boolean workExperience) {
        isWorkExperience = workExperience;
    }

    public WorkEx getWorkEx() {
        return workEx;
    }

    public void setWorkEx(WorkEx workEx) {
        this.workEx = workEx;
    }

    public String getAdvantage() {
        return advantage;
    }

    public void setAdvantage(String advantage) {
        this.advantage = advantage;
    }
}
